package nuig.prolog.userTypingFormat.impl;

import java.util.List;

import nuig.prolog.entity.WordEntity;
import nuig.prolog.userTypingFormat.Rule;

public class RuleDivideComma extends Rule {

	@Override
	public Rule DoRule(String userTyping) {

		String[] strings = userTyping.split(" ");

		for (String string : strings) {
			//ProcessList.add(string);
		}

		DoRule();
		return this;
	}

	@Override
	public Rule DoRule() {
		for (int i = 0; i < ProcessList.size(); i++) {
			//if()
			//String temp= ProcessList.get(i);
			
		}
		
		return this;
	}

	@Override
	public Rule DoRule(List<WordEntity> ProcessList) {
		Rule.ProcessList = ProcessList;
		DoRule();
		return this;
	}

}
